package com.muyu.blog.service;

import com.muyu.blog.entity.SysUser;
import com.muyu.blog.entity.vo.Result;
import com.muyu.blog.entity.vo.params.LoginParam;
import org.springframework.transaction.annotation.Transactional;

@Transactional//事务
public interface LoginService {

    Result login(LoginParam loginParam);

    SysUser checkToken(String token);

    Result logout(String token);

    Result register(LoginParam loginParam);
}
